Skip to content

Conversation

@Brano5
Copy link
Collaborator

@Brano5 Brano5 commented Jan 22, 2026

This pull request introduces improvements to authentication flow handling and error resilience in serial port operations. The most important changes are:

Authentication flow improvements:

  • Refactored the logic in IdentityComponentsEndpointRouteBuilderExtensions.cs to clarify the order of operations when handling external authentication logins. The user is now only signed in after ensuring the current user is logged out, and the code path for handling already-logged-in users with matching external authentication IDs is simplified.

Serial port error handling:

  • Added exception handling to the OpenPortAsync method in SerialService.cs to gracefully catch and ignore exceptions thrown during the attempt to open a serial port, improving robustness against runtime errors.

@Brano5 Brano5 linked an issue Jan 22, 2026 that may be closed by this pull request
@PTKu PTKu merged commit 962fe84 into dev Jan 22, 2026
1 check passed
@PTKu PTKu deleted the 977-new-feature-external-login branch January 22, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NEW-FEATURE] External LogIn

4 participants